package com.hxzy.entity;

import com.alibaba.fastjson.annotation.JSONField;
import sun.dc.pr.PRError;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * @Description:
 * @Author: YaoHaiLong
 * @Date: 2022/3/8 17:06
 */
public class BusinessResourceSupplier {
    @NotBlank(message = "id不能为空")
    private String id;
    @NotBlank(message = "供应商名称不能为空")
    private String supplierName;
    @NotBlank(message = "供应商地址不能为空")
    private String address;
    private String tel;
    private String contactName;
    private String accountBank;
    private String bankAccountNumber;
    private String statusCd;
    @NotBlank(message = "id不能为空")
    private String createUserId;
    private String createUserName;
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    private String remark;
    private String operate;

    public String getId() {
        return id;
    }

    @Override
    public String toString() {
        return "BusinessResourceSupplier{" +
                "id='" + id + '\'' +
                ", supplierName='" + supplierName + '\'' +
                ", address='" + address + '\'' +
                ", tel='" + tel + '\'' +
                ", contactName='" + contactName + '\'' +
                ", accountBank='" + accountBank + '\'' +
                ", bankAccountNumber='" + bankAccountNumber + '\'' +
                ", statusCd='" + statusCd + '\'' +
                ", createUserId='" + createUserId + '\'' +
                ", createUserName='" + createUserName + '\'' +
                ", createTime=" + createTime +
                ", remark='" + remark + '\'' +
                ", operate='" + operate + '\'' +
                '}';
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getSupplierName() {
        return supplierName;
    }

    public void setSupplierName(String supplierName) {
        this.supplierName = supplierName;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getContactName() {
        return contactName;
    }

    public void setContactName(String contactName) {
        this.contactName = contactName;
    }

    public String getAccountBank() {
        return accountBank;
    }

    public void setAccountBank(String accountBank) {
        this.accountBank = accountBank;
    }

    public String getBankAccountNumber() {
        return bankAccountNumber;
    }

    public void setBankAccountNumber(String bankAccountNumber) {
        this.bankAccountNumber = bankAccountNumber;
    }

    public String getStatusCd() {
        return statusCd;
    }

    public void setStatusCd(String statusCd) {
        this.statusCd = statusCd;
    }

    public String getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(String createUserId) {
        this.createUserId = createUserId;
    }

    public String getCreateUserName() {
        return createUserName;
    }

    public void setCreateUserName(String createUserName) {
        this.createUserName = createUserName;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getOperate() {
        return operate;
    }

    public void setOperate(String operate) {
        this.operate = operate;
    }
}
